<?php
require_once("build/includes/config.php");
require_once("build/includes/basecamp/Basecamp.class.php");

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title> New Document </title>
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
 </head>

 <body style="height: 100%;">
<textarea style="width: 95%; height: 1095px;">
 <?php
	$bc = new Basecamp('https://' . $BASECAMP_URL . '.basecamphq.com/',$BASECAMP_TOKEN,'');
	$response = $bc->getProjects();
    // see the XML output
    print_r($response['body']);
die();
	print_r($bc->createCalendarEntry(
	9013987,
    'test',
	'02/10/11',
    '02/15/11',
    'person',
    8918939));
  ?>fdsa
</pre>
 </body>
</html>
